<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/resources/templates/template_site.xhtml">
        
        <ui:define name="content">
             
                <p:panel header="#{bundle.ViewCommandeclientTitle}">
                    <h:panelGroup id="messagePanel" layout="block">
                        <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
                    </h:panelGroup>

                    <p:panelGrid columns="2">
                        <h:outputText value="#{bundle.ViewCommandeclientLabel_idcommande}"/>
                        <h:outputText value="#{commandeclientController.selected.idcommande}" title="#{bundle.ViewCommandeclientTitle_idcommande}"/>
                        <h:outputText value="#{bundle.ViewCommandeclientLabel_quantite}"/>
                        <h:outputText value="#{commandeclientController.selected.quantite}" title="#{bundle.ViewCommandeclientTitle_quantite}"/>
                        <h:outputText value="#{bundle.ViewCommandeclientLabel_dateReser}"/>
                        <h:outputText value="#{commandeclientController.selected.dateReser}" title="#{bundle.ViewCommandeclientTitle_dateReser}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewCommandeclientLabel_statutreser}"/>
                        <h:outputText value="#{commandeclientController.selected.statutreser}" title="#{bundle.ViewCommandeclientTitle_statutreser}"/>
                        <h:outputText value="#{bundle.ViewCommandeclientLabel_etatcomm}"/>
                        <h:outputText value="#{commandeclientController.selected.etatcomm}" title="#{bundle.ViewCommandeclientTitle_etatcomm}"/>
                        <h:outputText value="#{bundle.ViewCommandeclientLabel_idutil}"/>
                        <h:outputText value="#{commandeclientController.selected.idutil}" title="#{bundle.ViewCommandeclientTitle_idutil}"/>
                        <h:outputText value="#{bundle.ViewCommandeclientLabel_iditem}"/>
                        <h:outputText value="#{commandeclientController.selected.iditem}" title="#{bundle.ViewCommandeclientTitle_iditem}"/>
                    </p:panelGrid>
                    <br />
                    <h:commandLink action="#{commandeclientController.destroyAndView}" value="#{bundle.ViewCommandeclientDestroyLink}"/>
                    <br />
                    <br />
                    <h:commandLink action="Edit" value="#{bundle.ViewCommandeclientEditLink}"/>
                    <br />
                    <h:commandLink action="#{commandeclientController.prepareCreate}" value="#{bundle.ViewCommandeclientCreateLink}" />
                    <br />
                    <h:commandLink action="#{commandeclientController.prepareList}" value="#{bundle.ViewCommandeclientShowAllLink}"/>
                    <br />
                    <br />
                    <h:commandLink value="#{bundle.ViewCommandeclientIndexLink}" action="/pages/index" immediate="true" />
                </p:panel>
             
        </ui:define>
    </ui:composition>

</html>
